package com.iwhalecloud.bss.kite.cucc.spec.impl.query;

import com.iwhalecloud.bss.kite.dataservice.api.IQueryOfferObjRelRoleService;
import com.iwhalecloud.bss.kite.dataservice.entity.OfferObjRelRole;
import com.iwhalecloud.bss.kite.dataservice.mapper.spec.OfferObjRelRoleMapper;
import com.ztesoft.bss.common.util.SpringUtil;
import org.springframework.stereotype.Service;

@Service
public class OfferObjRelRoleQueryService implements IQueryOfferObjRelRoleService {

	@Override
	public OfferObjRelRole getOfferObjRelRole(String roleId) {
		OfferObjRelRoleMapper mapper = SpringUtil.getBean(OfferObjRelRoleMapper.class);
        return mapper.selectByPrimaryKey(roleId);
	}

}
